package com.xushi.service;

import com.alipay.api.AlipayApiException;

import java.util.HashMap;

public interface AlipayService {
    String pay(int templateId, String timeId, String username) throws AlipayApiException;

    boolean verify(HashMap<String, String> params) throws AlipayApiException;

    String query(String outTradeNo, String tradeNo) throws AlipayApiException;

    void notify(HashMap<String, String> params);
}
